package com.kaibes.platform.link.admin;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.kaibes.web.admin.AdminMenu;
import com.kaibes.web.admin.AdminMenuRes;

@Configuration
public class LinkMenuInit {

    @Bean
    public AdminMenu linkMenu() {
        AdminMenu menu = new AdminMenu();
        menu.setKey("links");
        menu.setName("链接设置");
        menu.setIcon("fas fa-link");
        menu.setHref("/admin/link/setting");
        menu.setSort(3);
        menu.setParentKey(AdminMenuRes.MENU_SETTING);
        return menu;
    }
    
}
